<template>
  <div id="app">
    <router-view :key="$route.fullPath"></router-view>
  </div>
</template>

<script>
export default {
  name: "app",
  data() {
    window.h = this.$createElement
    return {}
  }
  // async created(){
  //   await checkDB()
  // }
};
</script>

<style lang="scss">
// 引入初始化样式
@import "~@/style/main.scss";
@import "@/style/base.scss";
@import "@/style/mobile.scss";
@import "@/style/override.scss";
#app {
  background: $c-bg-top;
  // overflow: hidden;
  // height: calc(100% - 110px);
  height: 100%;
  min-width: 1100px;
}
</style>
